package com.zy.cat.entity.dtk.resp;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("大淘客活动列表实体类")
public class GoodsActivityResp implements Serializable{
 
	/**
	 * 
	 */
	private static final long serialVersionUID = -2517531236216796420L;

	@JsonProperty("time")
	@ApiModelProperty(value = "请求时间", example = "")
	private String time;

	@JsonProperty("code")
	@ApiModelProperty(value = "返回码", example = "")
	private long code;

	@JsonProperty("msg")
	@ApiModelProperty(value = "描述", example = "")
	private String msg;

	@JsonProperty("data")
	@ApiModelProperty(value = "活动实体类", example = "{}")
	private List<Activitys> data;

	@lombok.Data
	@AllArgsConstructor
	@NoArgsConstructor
	public static class Activitys {
		
		@JsonProperty("activity_id")
		@ApiModelProperty(value = "活动ID", example = "6")
		private String activityId;
		
		
		@JsonProperty("activity_name")
		@ApiModelProperty(value = "活动名称", example = "双11定金预售")
		private String activityName;
		
		@JsonProperty("start_time")
		@ApiModelProperty(value = "活动开始时间", example = "2019-10-17 11:13:16")
		private String startTime;
		
		@JsonProperty("end_time")
		@ApiModelProperty(value = "活动结束时间", example = "2019-11-10 21:59:59")
		private String endTime;
		
		@JsonProperty("goods_label")
		@ApiModelProperty(value = "单品标签图片", example = "https://thumbnail.dataoke.com/img/dtk/market/201910/2019101613543885366198.png")
		private String goodsLabel;
		
		@JsonProperty("detail_label")
		@ApiModelProperty(value = "商详页标签图片", example = "https://thumbnail.dataoke.com/img/dtk/market/201910/2019101613544427371014.png")
		private String detailLabel;
		
		@JsonProperty("goods_type")
		@ApiModelProperty(value = "活动商品类型 1.非定金商品 2.定金商品 3.付付定返红包", example = "2")
		private int goodsType;
	}
}
